package com.sentrix.auto.printercenter.presentation.api.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class ScanPrintReqDto {

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 打印机编号
     */
    @NotBlank(message = "printerCode can't be empty")
    private String printerCode;


    /**
     * 文件类型:pdf,image
     */
    @NotBlank(message = "fileType can't be empty")
    private String fileType;

    /**
     * 文件来源:file,base64,默认为file
     */
    private String flavor="file";
    /**
     * 文件地址
     */
    @NotBlank(message = "fileData can't be empty")
    private String fileData;
}
